package com.ruoyi.littleRedBook.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.littleRedBook.domain.pojo.Notification;
import org.apache.ibatis.annotations.Param;

public interface NotificationMapper extends BaseMapper<Notification> {
    // 批量更新用户所有未读通知为已读
    int updateAllReadByUserId(@Param("userId") Long userId);
}
